package com.fzh.web.yibai.app.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fzh.web.yibai.app.entity.Website;
import com.fzh.web.yibai.app.mapper.WebsiteMapper;
import com.fzh.web.yibai.app.service.WebsiteService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author fang
 * @since 2021-04-19
 */
@Service
public class WebsiteServiceImpl extends ServiceImpl<WebsiteMapper, Website> implements WebsiteService {

    @Override
    public Website findSite(Integer id) {
        return baseMapper.selectById(id);
    }
}
